<!DOCTYPE html>
<html xmlns:th="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<style>
    .hwType_fj{background:#e0e0e0;color:#666;}
    .hwType_zp{background:rgba(92,184,92,.3);color:#666;}

    .hwType_sp{background:rgba(28,132,198,.3);color:#666;}

    .hwType_cc{background:rgba(240,173,78,.3);color:#666;}

    .hwType_th{background:rgba(212,63,58,.3);color:#666;}
    .hwStatus{background:none;border:1px #f2f2f2 solid;}
    .hwStatus_k{color:#333;}
    .hwStatus_dtc{color:#d43f3a;}

    .hwStatus_yh{color:#4cae4c;}

    .hwStatus_drk{color:#eea236;}
</style>
<body class="gray-bg">
<input type="hidden" id="shelfId" th:value="${shelfId}">

<div class="warning-element">
    <div style="margin:8px;">  货位类型：
        <span class="badge hwType_fj" style="width:80px;" >分拣区货位</span>

        <span class="badge hwType_zp" style="width:80px;"  >正品存储区</span>

        <span class="badge hwType_sp"   style="width:80px;"  >散品区货位</span>
        <span class="badge hwType_cc" style="width:80px;"  >残次品货位</span>

        <span class="badge hwType_th" style="width:80px;"  >退货区货位</span>
    </div>
    <div style="margin:8px;">  货位状态：
        <span class="badge hwStatus hwStatus_k" style="width:50px;"  >空</span>

        <span class="badge hwStatus hwStatus_dtc" style="width:50px;"  >待调仓</span>

        <span class="badge hwStatus hwStatus_yh"   style="width:50px;"  >有货</span>

        <span class="badge hwStatus hwStatus_drk" style="width:50px;"  >待入库</span>
    </div>
    <!--<div class="columns pull-right">-->
        <!--<button class="btn btn-success" onclick="getBack()">返回</button>-->
        <!--&lt;!&ndash; <a  href="/put/putStorage/putStorage"><i class="fa fa fa-sign-out"></i> 返回入库单</a> &ndash;&gt;-->
    <!--</div>-->
    <div th:text="|${tGoodsShelf.shelfArea}区  编号：${tGoodsShelf.shelfNumber}|"></div>

    <table class="table table-hover table-bordered  table-striped table-condensed text-center" border="1" lay-skin="row" lay-size="lg" >
        <tbody align="center" id="allocation">

        </tbody>
    </table>
</div>
<div class="wrapper wrapper-content " style="display: none" id="goods">
    <input type="hidden" id="allocationId" value="0">

    <table id="exampleTable" data-mobile-responsive="true">
    </table>
</div>
<!--shiro控制bootstraptable行内按钮看见性 来自bootdo的创新方案 -->
<div>
    <script type="text/javascript">
        var s_edit_h = 'hidden';
        var s_remove_h = 'hidden';
        var s_resetPwd_h = 'hidden';
    </script>
</div>
<div >
    <script type="text/javascript">
        s_edit_h = '';
    </script>
</div>
<div >
    <script type="text/javascript">
        var s_remove_h = '';
    </script>
</div>
<div >
    <script type="text/javascript">
        var s_resetPwd_h = '';
    </script>
</div>
</div>
<div th:include="include :: footer"></div>
<script type="text/javascript" src="/js/appjs/goods/tGoodsShelf/shelfAllocation.js"></script>
</body>
</html>